Jump to content

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.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.