Quantcast
Channel: SCN: Message List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 7329

Re: Problem with papersize and orientation between standard and label printers on rich text datawindow

$
0
0

Hi Karen,

 

I had an old CR using the  Zebra ZM400 print driver that sounds similar.   PB engineering looked into it back then and said it was not a PB issue.  The datawindow print method uses the GetDeviceCaps windows API to get the print properties and the values that were coming back from the print driver were not correct.

 

In that case it seems that the Zebra printer was not processing the "User Defined" paper size correctly.   With a "User Defined" size of 3.5w*2h, the Windows system functions GetDeviceCaps (hPP, HORZRES), GetDeviceCaps (hPP, VERTRES) returned 2w*4h.   When it was tested using a
Zebra printer predefined label size of 3.25w*2, then it  worked correctly. 

 

If you use a predefined Zebra label size does this print correctly for you?  

 

Pat Steinhardt


Viewing all articles
Browse latest Browse all 7329

Trending Articles