Jump to content

Printing labels from a web page


pnj

Recommended Posts

How would you go about building an HTML page designed to be printed with a label printer?

 

Would the user just have to set their page setup to remove page headers, and then a matter of getting the margin and padding right in the stylesheet so things print just right?

 

Or will I have difficulty printing to a label printer with an ordinary IE print request?

 

I'm thinking of an address label printer, that just prints one small label at a time.

 

Sorry if the question is a bit vague, I just don't have a label printer to experiment with at this time :-)

-pnj

Link to comment
https://forums.phpfreaks.com/topic/60764-printing-labels-from-a-web-page/
Share on other sites

As much as it disturns me you are probably better off using a table layout for this.

 

it will be a little bit trial and error but keep playing with cell heights and widths until they fit the lables on your paper - you may well find that trying to print on another printer/driver will not produce consistent results.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.