1. page eject
- Posted by gwalters at sc.rr.com
Jul 12, 2001
This is a multi-part message in MIME format.
------=_NextPart_000_0040_01C10ACB.8B3304E0
charset="Windows-1252"
Can someone tell me how to send a page eject to the printer? thanks..
..george
------=_NextPart_000_0040_01C10ACB.8B3304E0
charset="Windows-1252"
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>
<DIV><FONT size=3D2>Can someone tell me how to send a page eject to the =
printer?=20
thanks..</FONT></DIV>
<DIV> </DIV>
------=_NextPart_000_0040_01C10ACB.8B3304E0--
2. Re: page eject
- Posted by euman at bellsouth.net
Jul 12, 2001
This is a multi-part message in MIME format.
------=_NextPart_000_0026_01C10ADF.B18D5960
charset="Windows-1252"
Abort function:
I use DestroyWindow ( ) which kills the thread message queue.
this eliminates the cancel hdlg created by the printdlg and ejects the page.
If this is what you want,
I should have examples for this soon on the user contrib page/
though not written for win32lib.
Euman
euman at bellsouth.net
----- Original Message -----
From: gwalters at sc.rr.com
To: EUforum
Sent: Thursday, July 12, 2001 11:09
Subject: page eject
..george
------=_NextPart_000_0026_01C10ADF.B18D5960
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2462.0" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Abort function:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I use <STRONG><FONT=20
style=3D"BACKGROUND-COLOR: #000080" color=3D#ffffff=20
size=3D3>DestroyWindow</FONT></STRONG> ( ) which kills the <FONT=20
face=3D"Times New Roman" size=3D3>thread message =
queue.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>this eliminates the cancel hdlg created =
by the=20
printdlg and ejects the page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If this is what you want,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I should have examples for this soon on =
the user=20
contrib page/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>though not written for =
win32lib.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>Euman<BR><A =
href=3D"mailto:euman at bellsouth.net">euman at bellsouth.net</A></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A title=3Dgwalters at sc.rr.com=20
href=3D"mailto:gwalters at sc.rr.com">gwalters at sc.rr.com</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3DEUforum at topica.com=20
href=3D"mailto:EUforum at topica.com">EUforum</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, July 12, 2001 =
11:09</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> page eject</DIV>
<A =
<DIV> </DIV>
<DIV><FONT =
size=3D2>..george</FONT></DIV></FONT></DIV><PRE>=3D=3D^=3D=3D=3D=3D=3D=3D=
This email was sent to: euman at bellsouth.net
<A =
------=_NextPart_000_0026_01C10ADF.B18D5960--
3. Re: page eject
- Posted by gwalters at sc.rr.com
Jul 12, 2001
This is a multi-part message in MIME format.
------=_NextPart_000_010F_01C10AF1.145E3940
charset="Windows-1252"
EUman, I'm not sure this will do it. I'm trying to resume the printout =
at the top of the next page. On the current system I am using I print an =
chr$(12) to 'form feed'.
..george
----- Original Message -----=20
From: euman at bellsouth.net=20
To: EUforum=20
Sent: Thursday, July 12, 2001 3:34 PM
Subject: Re: page eject
=20
I use DestroyWindow ( ) which kills the thread message queue.
this eliminates the cancel hdlg created by the printdlg and ejects the =
page.
=20
If this is what you want,
=20
I should have examples for this soon on the user contrib page/
though not written for win32lib.
=20
Euman
euman at bellsouth.net
=20
=20
----- Original Message -----=20
From: gwalters at sc.rr.com=20
To: EUforum=20
Sent: Thursday, July 12, 2001 11:09
Subject: page eject
=20
..george
=3D=3D^=3D=3D=3D=3D=3D=3DThis email was sent to: euman at bellsouth.net
=3D
------=_NextPart_000_010F_01C10AF1.145E3940
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>EUman, I'm not sure this will do it. I'm trying to =
resume the=20
printout at the top of the next page. On the current system I am using I =
print=20
an chr$(12) to 'form feed'.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>..george</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:euman at bellsouth.net"=20
title=3Deuman at bellsouth.net>euman at bellsouth.net</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:EUforum at topica.com"=20
title=3DEUforum at topica.com>EUforum</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, July 12, 2001 =
3:34=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: page eject</DIV>
<A =
style=3D"BACKGROUND-COLOR: #000080">DestroyWindow</FONT></STRONG> ( ) =
which=20
kills the <FONT face=3D"Times New Roman" size=3D3>thread message=20
queue.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>this eliminates the cancel hdlg =
created by the=20
printdlg and ejects the page.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>If this is what you =
want,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I should have examples for this soon =
on the user=20
contrib page/</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>though not written for =
win32lib.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV>Euman<BR><A=20
href=3D"mailto:euman at bellsouth.net">euman at bellsouth.net</A></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:gwalters at sc.rr.com"=20
title=3Dgwalters at sc.rr.com>gwalters at sc.rr.com</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
href=3D"mailto:EUforum at topica.com"=20
title=3DEUforum at topica.com>EUforum</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Thursday, July 12, 2001 =
11:09</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> page eject</DIV><A =
<DIV>
<DIV></DIV>
<DIV><FONT size=3D2>..george</FONT></DIV></FONT>
<DIV></DIV><PRE>=3D=3D^=3D=3D=3D=3D=3D=3DThis email was sent to: =
euman at bellsouth.net
<A =
This email was sent to: gwalters at sc.rr.com
<A =
------=_NextPart_000_010F_01C10AF1.145E3940--
4. page eject
Can someone remind me how to embed a page eject in a plain text file. I.E. if
notepad were to open it and print the text file their would be a page eject with
this character.
thanks
5. Re: page eject
George Walters wrote:
> Can someone remind me how to embed a page eject in a plain text file. I.E. if
> notepad were to open it and print the text file their would be a page eject
> with
> this character.
>
> thanks
For instance in this file
ftp://ftp.unicode.org/Public/MAPPINGS/ISO8859/8859-1.TXT
it reads:
| 0x00 0x0000 # NULL
| 0x01 0x0001 # START OF HEADING
| 0x02 0x0002 # START OF TEXT
| 0x03 0x0003 # END OF TEXT
| 0x04 0x0004 # END OF TRANSMISSION
| 0x05 0x0005 # ENQUIRY
| 0x06 0x0006 # ACKNOWLEDGE
| 0x07 0x0007 # BELL
| 0x08 0x0008 # BACKSPACE
| 0x09 0x0009 # HORIZONTAL TABULATION
| 0x0A 0x000A # LINE FEED
| 0x0B 0x000B # VERTICAL TABULATION
| 0x0C 0x000C # FORM FEED
| 0x0D 0x000D # CARRIAGE RETURN
| 0x0E 0x000E # SHIFT OUT
| 0x0F 0x000F # SHIFT IN
| [...]
AFAIK what you are looking for is FORM FEED,
so in your Eu program it should be
puts(outfile, #C)
Regards,
Juergen
6. Re: page eject
That seems to be it. Thanks