Microsoft Visual FoxPro - Printing Problem 
Author Message
 Microsoft Visual FoxPro - Printing Problem

Dear Sir,

I have a problem with make a printing command in Microsoft Visual FoxPro. How to
stop the printer scrolling paper when computer running command: "set printer
to" ? Otherwise I already use command :
_Peject     = "none"

Example :

   _Padvance   = "LINEFEEDS"
   _Peject     = "none"

   SET PRINTER ON
   PRINTJOB          && start the printjob

         ? "SAYOTA ELECTRIC" style "Times New Roman,16,Roman"
         ?
         ?

   ENDPRINTJOB
   SET PRINTER OFF

   SET PRINTER TO

   *------------------------------------------------------------

 RETURN




Thu, 07 Aug 2003 15:48:42 GMT  
 Microsoft Visual FoxPro - Printing Problem
Eko,
I believe all SET PRINTER TO does is release the print to the Windows
printing subsystem. You may want to check your Spooler and/or default
printer settings for an Eject at end of printjob setting.

Rick


Dear Sir,

I have a problem with make a printing command in Microsoft Visual FoxPro.
How to
stop the printer scrolling paper when computer running command: "set printer
to" ? Otherwise I already use command :
_Peject     = "none"

Example :

   _Padvance   = "LINEFEEDS"
   _Peject     = "none"

   SET PRINTER ON
   PRINTJOB          && start the printjob

         ? "SAYOTA ELECTRIC" style "Times New Roman,16,Roman"
         ?
         ?

   ENDPRINTJOB
   SET PRINTER OFF

   SET PRINTER TO

   *------------------------------------------------------------

 RETURN




Fri, 08 Aug 2003 21:41:40 GMT  
 Microsoft Visual FoxPro - Printing Problem
Hi

Just a comment on the SET PRINTER TO command.  It also covers a bug in VFP
where sometimes (when the moon is full and there are 3 elves dancing at the
bottom of your garden) the print job is spooled but doesn't get sent to the
printer until a SET PRINTER TO command is issued to "release" the job.

This bug may have been fixed but better safe than sorry

John


Quote:
> Eko,
> I believe all SET PRINTER TO does is release the print to the Windows
> printing subsystem. You may want to check your Spooler and/or default
> printer settings for an Eject at end of printjob setting.

> Rick



> Dear Sir,

> I have a problem with make a printing command in Microsoft Visual FoxPro.
> How to
> stop the printer scrolling paper when computer running command: "set
printer
> to" ? Otherwise I already use command :
> _Peject     = "none"

> Example :

>    _Padvance   = "LINEFEEDS"
>    _Peject     = "none"

>    SET PRINTER ON
>    PRINTJOB          && start the printjob

>          ? "SAYOTA ELECTRIC" style "Times New Roman,16,Roman"
>          ?
>          ?

>    ENDPRINTJOB
>    SET PRINTER OFF

>    SET PRINTER TO

>    *------------------------------------------------------------

>  RETURN

> Thank's for your help and please repplied to my e-mail :


- Show quoted text -



Sat, 09 Aug 2003 06:03:33 GMT  
 Microsoft Visual FoxPro - Printing Problem
Waduh Ko, loe kayaknya nggak bakal dapet jawaban loe dari sini deh -
bulebule disini pada blo'on alias bego (tetapi memanggil diri mereka MVP),
mendingan loe cobain aja ini. VFP 6.0 menyediakan sebuah fasilitas
reporting-tool yg dapat loe pakai. Ini jauh lebih praktis dan efektif
daripada loe harus nulis puluhan baris kode hanya untuk mencetak laporan.
Gunakan:
Modi Repo (reportname) dan buatlah report sama seperti membuat form untuk


Dear Sir,

I have a problem with make a printing command in Microsoft Visual FoxPro.
How to
stop the printer scrolling paper when computer running command: "set printer
to" ? Otherwise I already use command :
_Peject     = "none"

Example :

   _Padvance   = "LINEFEEDS"
   _Peject     = "none"

   SET PRINTER ON
   PRINTJOB          && start the printjob

         ? "SAYOTA ELECTRIC" style "Times New Roman,16,Roman"
         ?
         ?

   ENDPRINTJOB
   SET PRINTER OFF

   SET PRINTER TO

   *------------------------------------------------------------

 RETURN




Sat, 09 Aug 2003 15:59:06 GMT  
 Microsoft Visual FoxPro - Printing Problem
gimana kalo kita mau ngeprint dengan kertas yang bentuknya roll-an (misalnya
untuk kas register)?


Quote:
> Waduh Ko, loe kayaknya nggak bakal dapet jawaban loe dari sini deh -
> bulebule disini pada blo'on alias bego (tetapi memanggil diri mereka MVP),
> mendingan loe cobain aja ini. VFP 6.0 menyediakan sebuah fasilitas
> reporting-tool yg dapat loe pakai. Ini jauh lebih praktis dan efektif
> daripada loe harus nulis puluhan baris kode hanya untuk mencetak laporan.
> Gunakan:
> Modi Repo (reportname) dan buatlah report sama seperti membuat form untuk
> input. Selamat moncoba! Kalo gagal boleh email gue ke


Quote:



> Dear Sir,

> I have a problem with make a printing command in Microsoft Visual FoxPro.
> How to
> stop the printer scrolling paper when computer running command: "set
printer
> to" ? Otherwise I already use command :
> _Peject     = "none"

> Example :

>    _Padvance   = "LINEFEEDS"
>    _Peject     = "none"

>    SET PRINTER ON
>    PRINTJOB          && start the printjob

>          ? "SAYOTA ELECTRIC" style "Times New Roman,16,Roman"
>          ?
>          ?

>    ENDPRINTJOB
>    SET PRINTER OFF

>    SET PRINTER TO

>    *------------------------------------------------------------

>  RETURN

> Thank's for your help and please repplied to my e-mail :


- Show quoted text -



Sun, 17 Aug 2003 23:30:36 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Problems in using Microsoft Visual FoxPro ODBC 5.0 driver

2. Visual FoxPro 2.6 Printing vs Visual 5.0 Printing

3. Printing Problem with ???chr(27)+ ... on Visual Foxpro

4. SCC provider StarTeam and Microsoft Visual FoxPro

5. Moving Visual FoxPro 5.0 code to other Microsoft Language

6. Visual FoxPro 6.0 and Microsoft Word

7. Suppress Microsoft Visual Foxpro window

8. How To Extract Microsoft Visual FoxPro Index Expression Using ADO

9. Cannot locate the Microsoft Visual FoxPro Support Library

10. Visual FoxPro survey for Microsoft VFP Team

11. Is Visual FoxPro Strategic To Microsoft?

12. Visual Foxpro and Microsoft Access.

 

 
Powered by phpBB® Forum Software