Printer.PaperSize = acPRPSUser

G

Guest

Can anyone tell me the syntax to use to actually define the User-defined type.

Like: PaperSize = acPRPSUser(256,528) or PaperSize = acPRPSUser 256.528

I have been unable to find the actually method to set the size.

Background:
I am tryint to print a form (or a report) on a Dymo label printer. I want
the user to specify the type of Dymo printer in the applicatiion. Since there
are multiple Dymos that can work I don't want to use the "Specific Printer"
option in the page setup (would require multiple versions of the program)

I fill a combobox using the Application.Printers method. I store the label
printer as a value. When the user goes to print the form (or report) I
retreive the label printer and print to it. That works great - the right
printer is specified - but the paper size is wrong.

BTW: When I close the form, I reset the printer to the system default.
 
G

Guest

Randy,
Were you ever able to find a solution to the DYMO label issue? I am having
basically the same problem. I have 1"x1" DYMO label report in my development
system and when i publish our *.mde (locked code release) the ACCESS changes
the label to a 1"x4" label. And because it is an MDE, i can not change the
paper source.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top