Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to print endless page
Message
De
18/12/2012 04:14:20
 
 
À
18/12/2012 04:08:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01559840
Message ID:
01559978
Vues:
49
I think you will have a LOT of work ahead of you. You will to calculate the length of the report up front, and programmatically hack the frx.

My solution is much simpler. AFAIK you should be able to tell the operating system to use the remote printer as if it was a local one.

>actually I wish to print it from the report (report designer) not directly to the printer.
>
>because my client wants to do it remotely (using Remote Desktop Connection)
>and print through the report works well, but print directly doesn't work.
>so I need to figure it out how to print as report and still doesn't have pages
>
>
>
>
>>No, it won't, unless YOU add it. To rephrase, you don't create a report, you send the output line by line. That way you will have 100% control of what is printed.
>>
>>>but for the long receipt (eg. customer purchase 100 items), send to the printer will still have pages.
>>>I need the receipt to be one continuous receipt.
>>>
>>>
>>>
>>>>You can't use the report writer for this, but I seem to remember that there are some files to help you in the download section. Or you can do as I did many years ago. I sent the output, via scan - endscan, to a text file, and then I copied this file to the printer via Copy File xxx to Lpt1.
>>>>
>>>>>I was able to select Generic/Text only driver.
>>>>>but when I printed, I still got pages.
>>>>>how can I set it as endless (continues) pages.
>>>>>
>>>>>this is for printing receipt.
>>>>>
>>>>>thanks for the help
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Add a printer, and select Generic as brand, then you will see Generic/Text only as the first option.
>>>>>>
>>>>>>>I have Add Printer, Microsoft XPS Document Writer icons as default.
>>>>>>>I cannot find Generic/Text Only printer, and also cannot find it in the Add Printer
>>>>>>>
>>>>>>>Please advise
>>>>>>>
>>>>>>>Thanks
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>>Thank you for the reply.
>>>>>>>>>how can I create Generic Text Only printer driver?
>>>>>>>>
>>>>>>>>You don't have to create anything. 'Generic/Text Only' is one of the windows oldest printer drivers and it
>>>>>>>>should be there by default. In case is not for any reason, then you install it.
>>>>>>>>What is good about this driver, is that it is very simple and plays fairly well
>>>>>>>>with most of dot matrix printers.
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>Jerry
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>>how to print an endless page?
>>>>>>>>>>>
>>>>>>>>>>>I want to print the grocery receipt, and it prints continuously, doesn't need page
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Tips from what I can remember when building POS
>>>>>>>>>>
>>>>>>>>>>- Use 'Generic Text Only' printer driver
>>>>>>>>>>- Use monospaced font
>>>>>>>>>>
>>>>>>>>>>As for layout
>>>>>>>>>>- Make FRX with Report Title + detail band + Report Summary only
>>>>>>>>>>(page headers/footers empty and height 0)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>OR
>>>>>>>>>>
>>>>>>>>>>Send output to text file in exact layout in characters
>>>>>>>>>>(Eg ech line have 80 chars)
>>>>>>>>>>
>>>>>>>>>>Then send whole text file to to the printer port directly. There was couple of posts here with code that does that
>>>>>>>>>>(Was it SergeyB or BorisB)
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Also see file#9991 here at downloads
>>>>>>>>>>
>>>>>>>>>>HTH
>>>>>>>>>>Sergio
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform