Jump to content

Can I print text sidewards? + Printing records to A4 + Is it OK to print?


OM2

Recommended Posts

I want to write a mini application that reads in sales data and produces invoices and labels

 

In some cases it might be needed to print text sidewards

Is this doable? Perhaps that's just a case of manipulating CSS

 

Each sale record will need to be printed as individual invoices

Each invoice needs to be printed on a seperate A4 page

How easy is this? Is it possible to have a Page Break character that tells the printer to print the next content on a new page?

 

Lastly: is it  good idea to print from the browser???

I would get rid of the header and footer from being printed

But would there be anything else to consider that would make it a bad idea to use the browser as a report generation + printing mechanism?

 

Thanks

 

 

OM

Link to comment
Share on other sites

You could convert the HTML to PDF using PHP? Prob's be some kind of page break character there..

 

Also you can use a CSS print media stylesheet:

 

<link rel="stylesheet" type="text/css" media="print" href="print.css">

 

That would allow you to remove any headers / footers / banners / big images / etc.

 

A

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.