Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Printing duplex under Windows with HP
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00004982
Message ID:
00005123
Vues:
32
>>>>Does anybody knows how to sent an escape command sequence
>>>>to an HP printer from within Foxpro for windows, I need
>>>>to sent 'ESC &l2S' to turn on the duplex printing in an
>>>>HP printer, I tried using ???, and using _PSCODE.
>>>>no one seems to work.
>>>>Any sugestion ? , Thanks
>>>
>>>lcEscVar = chr(27)+' &12S'
>>>??? lcEscVar
>>Dave I did that, and it doesn't work, it looks that the report generator
>>initializes the printer on every new job.
>>Thanks anyway.
>
>How about putting that code in a memo field that prints at the begining of a page or section? I have been successful at placing bold, italic, and font info into Fox 2.6 for windows reports by inserting the printer codes in with the text. (Unfortunately I then had to manage word wrapping myself, because Windows decided that the non-printing characters had with!)
>
>Hope this helps.
>Peter

Thanks Peter, I tried to print a variable at the beginning of the page with
the escape sequence and it didn't work either. For now I'm just let the user
to go to the setup options of the printer prompt, and tell manually to use
the duplex option.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform