Page 1 of 2
simple printer issue ( i hope )
Posted: Sat Aug 19, 2006 9:19 am
by Charles256
is it possible to not print the web address whenever you print a webpage?
Posted: Sat Aug 19, 2006 9:46 am
by feyd
We have no control over that.
Posted: Sat Aug 19, 2006 9:49 am
by Benjamin
Put it in a div that is hidden by the screen style sheet and visible in the print style sheet.
EDIT: Never mind, I didn't see the word NOT in there

Posted: Sat Aug 19, 2006 9:59 am
by volka
mozilla/firefox: menu file->page setup->margins/headers/footers. There's a dropdown currently selecting URL, change it to blank.
ie: file->page setup. remove the &u from the footer field.
client-side script: never heard of, probably not possible.
server-side script: no way.
Posted: Sat Aug 19, 2006 10:50 am
by Charles256
&w&bPage &p of &P
that's in the headeR? what does all that mean?
&u&b&d
and in the footer what does that mean? thank's a lot for the help.
nevermind- here's the info -
http://www.weizmann.ac.il/IU/faqs/printing.html
Posted: Sat Aug 19, 2006 6:44 pm
by volka
or you press the ? button on the page setup dialog and then click in the header/footer field.
Posted: Sat Aug 19, 2006 9:02 pm
by alex.barylski
I have no answer, but do have a question...
What possible purpose would you have to hide the address from printed pages???
If it's your website, it's only a good thing...and if it's someone else's it's likely also either good or nothing, not bad...
If strictly for aesthetics...and you need total control, why not send the output to PDF and let the user print the way printing document online was intended
A few classes exist for dealing with PDF documents...I can' imagine it being very difficult
Cheers

Posted: Sat Aug 19, 2006 11:23 pm
by Charles256
it's for printing out upc labels..i still have the issue of instead of feeding it a whole page i just want it to print the text and then simply stop when it's done...bah...i don't think it can be done... :-/
Posted: Sat Aug 19, 2006 11:26 pm
by feyd
If anywhere, that would be in the drivers for the printer. I have no idea how newer operating systems react to tractor-feed printers..
Posted: Sat Aug 19, 2006 11:28 pm
by Charles256
that's what i was thinking.beginning to suspect win xp doesn't like em...

Posted: Sun Aug 20, 2006 5:40 am
by volka
can you explain the whole enterprise in more detail please.
Posted: Sun Aug 20, 2006 6:33 am
by jayshields
The &x things are just preset stuff. Like page numbers. &p will be the current page, &P will be total pages. &b might bold the following text. &d will probably be the date. &w will probably be the web address. Delete some stuff out of it and check print preview to find out. Google will tell you all this I think.
Posted: Sun Aug 20, 2006 7:28 am
by volka
Why bother with "probably" and google. The IE tells you. Just press the ? button.

Posted: Sun Aug 20, 2006 8:58 am
by Charles256
okay.user enters product price tag information and then clicks process.a webpage comes up with the upc's set up
say
and i have a pin feed printer that is fed the labels and what it'll do is print
where the extra whitespaceis more labels it just fed for no reason.
what i need it to prin tis
without it feeding all those labels.make more sense?
Posted: Sun Aug 20, 2006 10:29 am
by RobertGonzalez
Where are the UPC's coming from? I am not sure the header and footer data on the page are making that space. If they are, change your header and footer to empty and reduce the header and footer margins in the page set up to 0. If there is a gutter property, change that to say.05 or something small. See if that helps.
Just keep in mind that print settings like these are based on a users browers settings and cannot be changed by the script (unless you are doing something immoral or unethical

).