Hi,
My report works as A4, I am printing it in Roll paper (Alpha-3R printer).
Alignments are good, but it prints as pages in roll paper.
Report properties window does not have roll paper option for page setup.
Anybody guide me..
Regards,
Abdul Rahman
*This post is locked for comments
Thanks Chris and Zaid,
I set the paper size as 5", now it saves little paper, but leaves a little blank after printing each 5" ;).
Anyhow, rest all seems to good, thanks to all for support !.
pls ad me to expand my NAV friends
Regards,
Abdul Rahman
Welcome Abdul. I'm happy that it helped !
Hi,
- Can you please check your printer setting, I guess there might be something.
- On RDLC layout check page setup
Ref: [View:https://msdn.microsoft.com/en-us/library/jj651611(v=nav.80).aspx:750:50]
Let me know if the issue persists.
Thanks
Now I see Tina and Zaid's reply ;)
Thank you both. Now everything is fine except 1, that is roll paper prints as A4.
In page setup of Preview, it shows as continuous roll paper, but when it prints, it prints as A4.
Alignments are fine, but it leaves blank paper until it reaches A4 height.
if there more lines, it gives a gap then continue as second paper.
-Abdul
Thank you so much Chris.
As you guided, I set printOnlyIfDetails, and tried something else also like setting
the filter in rdlc for the group header, then it worked. Thanks again !.
Regards,
Abdul Rahman
Hi,
- Go to the DataItem POS Receipt Text and then go to properties.
- Select the property "PrintOnlyIfDetail" and change it to yes.
Thanks
Hi,
You can hide extra blank rows using the following methods:
1. You need to go to the 'Row visibility' of your details row of the table.
Select 'Show or hide based on an expression'.
Now enter the expression based on which the row must be hidden.
=Fields!FieldName.Value=""
Enter the name of the field based on which the row should be hidden.
Like in your case it may be =Fields!ReceiptTextField.Value="" or some other field you can select based on which blank lines should not be displayed.
2. Another way is in OnAfterGetRecordTrigger of your POS terminal receipt text' table you can add the following condition:
IF YourField='' then
CurrReport.SKIP;
3. Go to Row visibility->Show or hide based on an expression as I have shown in step 1 and write the following
=IsNothing(Fields!YourFieldName.Value)
Hi
Click on the DataItem 'POS terminal receipt text' and in the property set PrintOnlyIfDetails to yes and check once.
Hi Amol, Tina, Chris, Thank you.
Now, printing 2 pages is fixed by setting the width here and there.
but, for the roll paper, what there is no height right? so how I may set height in rdlc?. In the preview page, page setup shows paper as 'roll paper' but still it prints as A4.
And, I have one more query on this report, that, My report data set contains a create items header and line table. It is grouped in the rdlc and works fine. But, If I add 'POS terminal receipt text' table and 'receipt text' column in dynamics design, the report prints blank line in create items line table, even without adding receipt text data items to the rdlc layout !.
Me a beginner to rdlc layout, something somewhere missing,
If I remove POS Receipt Text data item and its columns from the nav report design, report prints good.
Abdul.
Hi Abdul,
It looks like the page width and height set are exceeding the actual roll paper size. Take the measurement of the roll paper and set the measurement in the report accordingly also check for padding.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156