I want to write report like pos receipt.So My normal qweb report can print in pos printer or how to I write like pos receipt format in odoo.
Related
I have several forms that are the result of engineering calculations. I would like them to print to the printer in a given format, maybe with a letter head etc. All I can do right now is print the form as it shows on the screen - not what I want. The VB report viewer seems to depend on database data and I can't find a way to just print the data in my text boxes and tables in a format and position that I want..
Any help will definitely be appreciated..
our company has a VB6 program that uses crystal report CRAXDRT9.dll v9.2.0.448 to generate report, yes we are using Crystal Report 9.
so today I am trying something new, inserting image into the report from database BLOB field. I have tried putting both bmp and jpg image file into the BLOB field, both of them can successfully show the image in Crystal Report application while editing the rpt file and Preview, or when exporting a pdf file from the Crystal Report application.
However when I put everything to the report system, where there are some job scheduling, submitting stuff, and the last leg was a small VB program that uses the dll to generate the report, everything else was fine, even data from the same table can be shown, but not the image in the final exported pdf file.
May I know if there is any specific settings I have to configure while I perform this type of action?
code excerpt from the VB program I believe is related to report export settings
Set crxReport = New CRAXDRT.Report
.
.
Select Case datPrimaryRS.Fields(conExportTypeColumn)
Case 0 'PDF
crxExportOptions.DestinationType = crEDTDiskFile
crxExportOptions.FormatType = crEFTPortableDocFormat
crxExportOptions.DiskFileName = txtFileName ' grdDataGrid.Columns(conExportPathColumn) & grdDataGrid.Columns(conExportNameColumn)
crxReport.Export False
Frankly, it seemed to me simply choosing pdf export type and export to local disk, I don't see much else, perhaps it is some other settings that are missing?
I am facing strange with the PDF printing with Foxypreviewer in Visual foxpro while trying to print multiple reports to one pdf using "NOPAGEEJECT".
We have some reports, which are supposed to be printed on in the vertical direction while other reports are supposed to be printed in the horizontal direction.
Now I get all pages in the same direction, depending on which direction the first report in the template have.Sample code is given below which I am trying to print to pdf:
REPORT FORM Itinerary01 object type 10 NOCONSOLE NOPAGEEJECT
REPORT FORM Itinerary02 object type 10 NOCONSOLE
Please help me to solve this.
The magic is that if I run these file one by one then only the last one will go for pdf but when I selected both and execute, the result was OK.
You are running files from command prompt so you can not get desired result. Put these command in a prg and see the magic.
REPORT FORM LOCFILE(_Samples + "\Solution\Reports\Colors.frx") ;
OBJECT TYPE 10 NOPAGEEJECT NORESET TO FILE "d:\Test.pdf"
REPORT FORM LOCFILE(_Samples + "\Solution\Reports\Percent.frx") ;
OBJECT TYPE 10 PREVIEW
I want to print the data using the crystal report which is generated from the database the report is depend upon the data requested by the user.
It may be of 5 lines or it may can vary to 20 to 25 lines now while printing in the dot matrix printer.
I have a problem that it prints the data but then it sends out till the end of the page as blank so it creates a problem for the customer to adjust the paper again in the printer
What the changes I should have to make in crystal report to make it print only the exact size of the report generated from the datagrid view.
I am using TVS 250 star dot matrix printer
There are some solutions here
Programmatically set Custom Paper Size for Crystal Report
also
when you are printing in TVS 250 star dot matrix printer
convert the "Crystal Report" to txt file and then print may be easy..
i have a crystal report in vs2005. I have to print this report in rollpaper with dotmatrix printer.
After printng the report it omit some waste spaces.
I have to stop the printer where the last line was printed.
i was seached with this problem but i am unable to find a solution.
please helpme to come out this problem
I solved this Problem, wecan't print dircetly in rollpaper with Crystal Reports for dynamic length(ie Dynamic Page Size), Because in Crystal report we have a standard page size(A4,Letter,Envelope etc ..)
For this Case Please Go through this Article: http://support.microsoft.com/kb/322090. This Article describes how print a raw data.
Write and allign all your data in a Textfile and Print.
Thanks
In the report itself make sure that any footers are suppressed, this may be causing the paper waste.