Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. Visual Basic
  4. Custom Paper Size

Custom Paper Size

Scheduled Pinned Locked Moved Visual Basic
questioncsharp
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Madni Abbasi
    wrote on last edited by
    #1

    Hi all, 1-I need to use custom paper size using crystal report in vb.net, how can I ? 2-Is there any way to create custom paper size and include it in printer paper size collection using printer properties at windows level ? Thanks in advance

    D M 2 Replies Last reply
    0
    • M Madni Abbasi

      Hi all, 1-I need to use custom paper size using crystal report in vb.net, how can I ? 2-Is there any way to create custom paper size and include it in printer paper size collection using printer properties at windows level ? Thanks in advance

      D Offline
      D Offline
      Duncan Edwards Jones
      wrote on last edited by
      #2

      The first step is to see if your printer driver can support custom paper size settings - the PrinterSettings.PaperSizes property lists all the paper sizes supported by a printer and if this collection includes a paper size with .Kind = PaperKind.Custom then it can. '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

      M 1 Reply Last reply
      0
      • D Duncan Edwards Jones

        The first step is to see if your printer driver can support custom paper size settings - the PrinterSettings.PaperSizes property lists all the paper sizes supported by a printer and if this collection includes a paper size with .Kind = PaperKind.Custom then it can. '--8<------------------------ Ex Datis: Duncan Jones Merrion Computing Ltd

        M Offline
        M Offline
        Madni Abbasi
        wrote on last edited by
        #3

        Hello, Its supporting for custom kind . please let me know the details. and also let me know how to assign "CrystalObject" (object of .rpt) to "PrintDocument" object.:confused: Thanks

        1 Reply Last reply
        0
        • M Madni Abbasi

          Hi all, 1-I need to use custom paper size using crystal report in vb.net, how can I ? 2-Is there any way to create custom paper size and include it in printer paper size collection using printer properties at windows level ? Thanks in advance

          M Offline
          M Offline
          Madni Abbasi
          wrote on last edited by
          #4

          Yes , I found the way to add custom paper size in the printer collection of paper sizes. Start -> Settings -> Printers and Faxes -> right click in the window -> Server Settings -> Create form ,give width & height and save the form with new name. now you have custom paper size in collection of printer. Be sure,while creating form that you have selected the required printer driver. Enjoy the Solution......

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups