Re: Printing Problem

new topic     » goto parent     » topic index » view thread      » older message » newer message

George Walters wrote:
> 
> Here is my win32 code.
> 
> }}}
<eucode>
>                             setPosition(Printer,0,line*(fontSize[2]+5))
>                             wPuts(Printer,ptab&tmp)
>                             line += 1
> </eucode>
{{{

> 
> I don't know what the "5" is pixels or points but it seemed to fit with the
> former OS I was using but now not with the laser printer and Avery labels.

Here is some information from the web on HP's Printer Control Language.

Most laser printers have control functions that can control them.

I think you will need to use them to setup the printer to some known

values because win32lib does not have any easy way to setup the printer.

Maybe Chris can help you; He is now in charge of win32lib.
 


http://www.dragon-it.co.uk/links/hp_pcl_codes.htm

http://printers.necsam.com/public/printers/pclcodes/pcl5hp.htm

Bernie

My files in archive:
WMOTOR, XMOTOR, W32ENGIN, MIXEDLIB, EU_ENGIN, WIN32ERU, WIN32API 

Can be downloaded here:
http://www.rapideuphoria.com/cgi-bin/asearch.exu?dos=on&win=on&lnx=on&gen=on&keywords=bernie+ryan

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu