simple printer issue ( i hope )

JavaScript and client side scripting.

Moderator: General Moderators

Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

upc info is entered on a previous page then i generate the layout. and i'm setting this script up on the clients computer so i hcan change anything i need to at all. it's not the spaces between words it's the fact that it feeds an entire page worth of labels where i just want it to print the upc's then stop feeding more paper to the printer.make sense?maybe?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Is this a feed printer? I guess what I really am asking is there a way to stop a page from completely printing?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

it's a feed printer. one of those that is pin fed. still don't know how to make it stop printing once the text is done?
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

If you are sending a page to the printer the printer will print the page regardless of what is on the page. I think that is how Pin Fed printers work. I am not sure you can start and stop the printer in the middle of a page.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

yeah.back on dos i could stop things mid print.but that was back in the day.don't think it's possible anymore..or if it is i just can't think of w ay...
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Direct port writes?
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

how do you doa direct port write?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

It's been a long time since I've done it.. the last time being in Pascal Image, so I can't help much there, sorry. It should be theoretically possible however, most of the underlaying facilities are still there in Windows.

I'm assuming this printer is attached to the machine processing PHP so I'll throw this out there too: http://php.net/ref.printer. I have no clue if that would work, but it's a possible research avenue for you.
Charles256
DevNet Resident
Posts: 1375
Joined: Fri Sep 16, 2005 9:06 pm

Post by Charles256 »

tempted to tellhim to shove it :-D
User avatar
RobertGonzalez
Site Administrator
Posts: 14293
Joined: Tue Sep 09, 2003 6:04 pm
Location: Fremont, CA, USA

Post by RobertGonzalez »

Thata boy. Tell him what can be done and steer him clear of what can't be done.
Post Reply