Jump to content

[SOLVED] Printing on labels!


budimir

Recommended Posts

Hi,

 

I'm trying to create a php script which would take the data from MySQL database, sort it and print it to labels for envelopes. Now, I'm having trouble with formatting the print and adjusting it for the labels.

 

Could someone post a code where I could define the size of the paper, how many labels are on the page (rows and columns) and to define the size of the labels?

 

I now, that somebody will tell me that I need to post more data about the labels, but my problem is that I have two different sizes of labels so I will need to adjust for them.

 

Thanks.

Link to comment
Share on other sites

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.