Print Page | Close Window

printing output

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=8220
Printed Date: 01 April 2026 at 7:18am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: printing output
Posted By: fark
Subject: printing output
Date Posted: 19 December 2003 at 8:25am
Is there a way in asp to control how my information prints out on a printer?  I have some information that I need to print out on our 4in by 6in label printer.  Right now it is outputed to a browser window in a table and you have to adjust the page setup and pick the label printer every time because it is not the default is there anyway that I can make this more automated???  Thanks.



Replies:
Posted By: MorningZ
Date Posted: 19 December 2003 at 9:41am

you can use CSS, but its not a guarenteed solution (there isn't going to be a "for sure" solution)

check out some hits on google for "CSS print page" for some stuff



-------------
Contribute to the working anarchy we fondly call the Internet


Posted By: fark
Date Posted: 19 December 2003 at 2:25pm
Is it possible to put my information into a word document and be able to set the margins and such?  I can then print it manually from there.


Posted By: zaboss
Date Posted: 20 December 2003 at 8:15am

There are several components which allow you to "print" in a pdf or word doc. The problem is that they cost and not many hosters would install it. To sort a same problem I was forced to lear some php as it has some inherited clases that alow you to alter online and pdf document. I don't remember the one of word doc, but here it is the http://www.asp-pdf.com/ - pdf component .

The simplest way is to have the form as a jpeg and use ASPJpeg to write on it.



-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: fark
Date Posted: 22 December 2003 at 9:37am
Originally posted by zaboss zaboss wrote:

The simplest way is to have the form as a jpeg and use ASPJpeg to write on it.

I'm new to ASP and haven't heard of ASPJpeg.  Tell me more!  Where can I see some examples and see some code.  Making a Jpeg should work.  Thanks for your help.



Posted By: zaboss
Date Posted: 23 December 2003 at 12:42am
http://www.aspupload.com/aspjpeg.html - Here it is. You'll find also some code samples. You should check whether your host has it or not. But 99% of them have it.

-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net