Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 4th, 2005, 01:56 PM
Registered User
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks, I got it to work. By the way, is there any more information with respect on printing to the 6x6 printer. My application has to print a receipt to one these small printer and what is happening is that I get a lot of paper before is automatically cut off.
Thanks in advance for any information.

 
Old August 4th, 2005, 02:47 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

You can use CSS to set the width of important screen elements (like the <body> tag and possible some divs you may have). The following FAQ shows a simple example of what I mean:

http://imar.spaanjaars.com/QuickDocId.aspx?QUICKDOC=240

Instead of controlling the display property as in my FAQ, you should change the object's width and set it to CM or other appropriate units of measurement.

HtH,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
While typing this post, I was listening to: Regular John by Queens of the Stone Age (Track 1 from the album: Queens of the Stone Age) What's This?
 
Old August 4th, 2005, 06:22 PM
Registered User
 
Join Date: Aug 2005
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Great, I'll try that, I was thinking of style sheet but again, my web experience is limited. What I have is a small webform with a single label webcontrol. After building the recipt, I simple set the receipt string value to the label and then call to print.

I realize that this is probably not the correct thread but I have to ask you, my second big problem right now is that the clients to my web application will be Kiosks, the kiosks have a card-reader device connected to the serial port. I have a vb object that initializes and reads the card-string from the device when the web application and these other objects are installed in the kiosk, but I am struggling trying to figure out how to make this work from the webserver. I have liberty to install components into the kiosks if needed, but of course we prefer everything at the web server.
Some direction on this please.. boy I tell you, client-side stuff is a bear on this environment.

 
Old August 14th, 2005, 04:21 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Sorry for the late response, I missed your reply in this thread.
Unfortunately, I don't know much about card reader devices, so I am afraid I cannot help much. You could try this in another forum here on p2p.wrox.com.

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Page Printing itHighway Classic ASP Basics 2 August 16th, 2012 03:08 PM
Crystal & ASP printing problem saurav9351 Crystal Reports 1 May 25th, 2004 11:26 AM
Direct Printing from ASP kbaker Classic ASP Basics 1 April 19th, 2004 11:50 AM
Crystal Printing from ASP active X control Problem jimh78 Crystal Reports 0 September 25th, 2003 03:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.