Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Margins getting chopped
Message
De
17/06/2015 13:53:24
 
 
À
16/06/2015 18:54:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01621019
Message ID:
01621086
Vues:
111
>>aL,
>>
>>This is a new report. All settings are as you have them. So I still don't know why it is putting the default printer (CutePDF) in the report. Then when I select the laser printer, it chops off the margins.
>
>Hmm, what happens if you temporarily change your Windows default printer to something else? Does that new default printer now show up, or is it still CutePDF?

This is what I did:
Windows default printer = HP LaserJet M1530 MFP Series PCL 6
VFP default printer = HP LaserJet M1530 MFP Series PCL 6
Text in the 'printer' textbox of the 'page layout' tab of report properties = HP LaserJet M1530 MFP Series PCL 6 (Default)
I then changed the Windows default printer to CutePDF Writer. However, the VFP default printer did not change.
Windows default printer = CutePDF Writer
VFP default printer = HP LaserJet M1530 MFP Series PCL 6
Text in the 'printer' textbox of the 'page layout' tab of report properties = HP LaserJet M1530 MFP Series PCL 6 (Default)
I then changed the VFP default printer to CutePDF Writer.
Windows default printer = CutePDF Writer
VFP default printer = CutePDF Writer
Text in the 'printer' textbox of the 'page layout' tab of report properties = CutePDF Writer (Default)
The problem seems to be that when the default printer is CutePDF Writer, when I issue the following:
lcFile = 'INTFBTCH'
DO (_REPORTOUTPUT) WITH 1, 'loListener'

loListener.PRINTJOBNAME = "C:\pj\INTF\Batch Packages\" + lcFile
REPORT FORM intfbtch TO PRINTER PROMPT PREVIEW OBJECT loListener
VFP presents a dialog that has CUTEPDF selected and even when I change that to HP Laserjet, it still seems to be using the underlying printer driver of the default printer, CutePDF!

Bottom line: When the default VFP printer is CutePDF, the output is not right even if I select the Laserjet for print.

How can I solve this???
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform