Karen and Frank
There is already a paper size defined for
the label that I am using. I will try using the Paper_Name rather than
the Height/Width in the print command. That may be the solution to my
problem.
It is funny how some of the PCs work OK
and some don’t. I did all of my testing on XP Pro PCs and it never
failed once.
Thanks
John
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Friday, February 25, 2005
1:13 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Re: Print
parameter problem
I presented this at the fall conference but it was a last-minute demo so
there was no materials. For all these cases, I create a custom paper size
and refer to that rather than doing to the parameters that you're using.
Your print command would look like this, with "4across" being my
custom
paper size.
LBLPRINT mailinglabels WHERE &vwhere ORDER BY &vsort OPTION
PRINTER |
PRINTER_NAME \\w3kserver\epson | PAPER_NAME 4across
Here's the instructions on how to create a custom paper size. I found
this process
a bit inconsistent -- sometimes you see the new form size, sometimes you don't.
When you think you have it, do a PRNSETUP in rbase and see if your new form
appears in the paper size.
Goto START/SETTINGS/PRINTERS, highlight the printer and select FILE in the
upperleft corner, and click on SERVER PROPERTIES.
In the Print Server Properties window check the box "Create
NewForm", this will allow you to provide a name for the form.
Next, set the form parameters under the Measurements section.
Height 7”, width 6.5”
Click Save Form and your newly created form will appear in the box above.
Now close the Window.
Next click on File and then click on Printing Preferences.
Under the Layout Tab click on the Advanced button.
Select the form you just created from the drop down list under Paper Size.
Click OK and Close the Printer Preferences window.
Next right click on the printer icon that you will use with the newly
createdform.
Click on Properties and then on the Device Settings tab.
Select the form from the drop down list and apply the changes.
Karen
I am using Zebra TLP 2844 label
printers to print barcodes for a client.
Label size is 2.5 inches X 2.0 inches.
Print driver properties are all set to the proper label size.
I use the following print command to print the labels from various PCs:
SAVEROW
SET VAR vJDATE INTEGER = NULL
LBLPRINT UPC_1 WHERE UPC_CODE = .vUPC +
OPTION PRINTER +
|COLLATION OFF +
|COPIES 1 +
|PAPER_WIDTH 2.5 +
|PAPER_HEIGHT 2 +
|PRINTER_NAME \\PROD1\UPC1
CLEAR VAR vJDATE
RETURN
Problem
The labels print fine from the XP Pro PC and the WIN 2000 Pro PC but they do
not print properly from two XP home PCs. It seems like the label size
parameter is being changed when the print command is being issued and the label
prints off center. When I test from the XP Home PCs by printing to the
screen first, I see that the paper size is changed to “envelop”.
If I change the paper size back to 2.5 X 2.0 the label prints fine.
When run it under program control it reverts back to envelop. I
have checked the print driver settings a zillion times and they are all set to
2.5 X 2.0. I have compared the settings on the XP Home OS with the
settings on the XP Pro and they are exactly the same. It acts like XP Home
ignores the paper height/width from R:Base.
Any idea what may be causing this problem?
John