HP MFP returns incorrect values ​via snmp protocol - snmp

Good afternoon!
The HPLJ M776 and HPLJ M775 MFPs return incorrect snmp values ​​for the number of printed pages in color and black and white pages.
Following this page https://oidref.com/1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2, the OID here below should count the total printed pages, but those do not refer as the counter on the Usage Page on the web-interface of the printer.
1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.6.0 - black
1.3.6.1.4.1.11.2.3.9.4.2.1.4.1.2.7.0 - color
But for other color MFPs, this oid works. I can't understand what is the reason.

Related

ZEBRA ZT411 bad print size

I have a ZEBRA ZT411 label printer. I had a 203dpi printhead and changed it to 300dpi. I installed the ZT411 300dpi ZPL driver. The printer is now incorrectly calibrating the label. It doesn't push it to the edge so I can tear it off, but it's still tucked inside. It only prints on the bottom of the label. In size 40mm. The size of the label is larger. I've tried everything. Where is the mistake of how this could be changed?
I don't think that's an issue with the label because in that case, you would only have a smaller printout, but no calibration issues.
If you change the printhead with a different resolution, you also need to replace the pulley and the belt because the amount of paper the printer will push when you print a 203 dpi label and a 300 dpi label, is different.
Check here, page 2: you'll see the printhead part number (P1058930-013) which is the one you've used and the conversion kit (P1058930-022) which include the printhead, but also the mentioned pulley and belt, and that's the one you need.

How do I print multiple ioComp Plotx plots to a Nova PDF 'printer'?

I am trying to print the images from the ioComp iPlotX object to a PDF printer. This object has iPlotX.SaveToBitmap, which does work and I can 'send' the file to the PDF printer, but the image is blurry, the bitmap is 96 DPI.
The control has iPlotX.PrintChart method which is supposed to go directly to a printer. There is also a method to indicate which Windows printer to direct the output to. I fumbled around to see if I could get anything to work and a couple times I produced an image in the PDF file that was very clear. But other items printed to the page were gone and I only had one page instead of 3 pages. Most of the times nothing is in the PDF file.
A snippet of my relevant code is below.
Me.SinglePlotObject1(iIndex).PlotControl.PrintShowDialog = False
Me.SinglePlotObject1(iIndex).PlotControl.Printername = modNovaPDFConstants.NOVAPDF_PRINTER_NAME
Me.SinglePlotObject1(iIndex).PlotControl.PrintOrientation = poLandscape
Me.SinglePlotObject1(iIndex).PlotControl.PrintChart
This note is from the ioComp.Help:
Note : If you have set PrintShowDialog to TRUE and have set
PrinterName to a non-empty string, then the printer selected by the
user will be ignored! The PrinterName property will always override
the user printer selection, if you are using our printer dialog If
you plan on showing our built-in printer selection dialog to your end
user, then you should set the PrinterName property to an empty string
for everything to work correctly.
Also from their help is :
property PrintXStart : Double Used to specify the starting x-axis Min
value when implementing multi-page printing.
Description: Use PrintXStart to get or set the starting x-axis Min
value when implementing multi-page printing. By default, the
PrintXStart and PrintXStop are initialized to the Min and Max of the
x-axis display on the screen and will only print out one page. You
must manipulate the PrintXStart and PrintXStop in the OnBeforePrint or
OnBeforePrintPage event to have multiple pages print out during a
single print session.
The only example they show is setting the XStart property to 0. I am not sure if this means multiple pages for the same graph, that is, the graph is stretched out over multiple page or is this has something to with different iPlots on separate pages. In the past we have always just used the iPlotX.SaveToBitmap to print. At that time the plots and text were good enough.
If anyone has any experience with ioComp plot controls and printing, I am willing to try any suggestions.
Right now I am trying to create a test application with as little code as possible to test all of their other printer options.
I have tried their FAQ section but could not find anything related to printing using VB6 and the ActiveX controls. When I sent a message to them, a smtp error appeared.
DaveInCaz: Good Idea. I tried a different PDF printer and results are the same. I tried a method of the control called iPrintToDC, passing in the Printer.hDC. This made some progress. I can print two graphs on two pages, but the graphs are about the size of my thumb. If I change width's or height's, it only makes things worse, by somehow placing the bottom of the graph 'above' the title and removing all the contents of the graph itself; it is as if the graph is wrapped around a cylinder and all I see is where the top and bottom meet. When I used the .PrintChart method, only the last of two charts would be printed and nothing else I printed would appear.
Thanks.

Additional Data being appended to CKEditor String

When i type 1960 characters in CKEditor and submit the form, my controller is getting around 2000 characters. I have checked through the data but still cant find out the exact reason why it is going like that
Length of data in UI : 1978
Length of data in Controller : 1991
so, additional 13 characters are added.
The data i am sending in UI is as follows --------------------------------------
Some older driver versions allowed you to select the “letter” size and adjust the margins to define the ticket size. This feature is still available in the new drivers to support old installations. When selecting a new font, Windows will default to the previous font size. This size will usually be incorrect. You must re-assign a valid font size to guarantee the proper font representation on your screen. "Tall" font in Word Pad does not display properly on the screen. Driver Use – Word Only (PCL and FGL) Before using Word, you must select the “use printer metrics to layout document” box in tools/options/compatibility. All of the previous “driver use” guidelines apply to Word. Word also provides you with the unique ability to define a custom page size within the application itself. We strongly recommend against the use of this feature. However, the following description will explain the use and limitations of this feature. While Word allows you to manipulate the page size in both portrait and landscape modes, the data sent to the printer only functions properly in portrait mode. You cannot print in landscape mode with a Word defined custom page size. In portrait mode, you can manually set the height for any ticket length up to 11 inches. For ticket lengths greater than 11 inches, you will need to add your own page size as described above in the “all applications” section. lengths greater than 11 inches, you will need to add your own page size as described above in the “all applications” section. lengths greater than 11 inches, you will need to add your own page size as described above in the “all applications” section. lengths greater than **
The data im receiving in controller is as follows --------------------------------------
Some older driver versions allowed you to select the “letter” size and adjust the margins to define the ticket size. This feature is still available in the new drivers to support old installations.
When selecting a new font, Windows will default to the previous font size. This size will usually be incorrect. You must re-assign a valid font size to guarantee the proper font representation on your screen. "Tall" font in Word Pad does not display properly on the screen.
Driver Use – Word Only (PCL and FGL)
Before using Word, you must select the “use printer metrics to layout document” box in tools/options/compatibility. All of the previous “driver use” guidelines apply to Word. Word also provides you with the unique ability to define a custom page size within the application itself. We strongly recommend against the use of this feature. However, the following description will explain the use and limitations of this feature.
While Word allows you to manipulate the page size in both portrait and landscape modes, the data sent to the printer only functions properly in portrait mode. You cannot print in landscape mode with a Word defined custom page size.
In portrait mode, you can manually set the height for any ticket length up to 11 inches. For ticket lengths greater than 11 inches, you will need to add your own page size as described above in the “all applications” section.
lengths greater than 11 inches, you will need to add your own page size as described above in the “all applications” section.
lengths greater than 11 inches, you will need to add your own page size as described above in the “all applications” section.
lengths greater than
I depends on the way you are requesting the output, but this can be spaces or this could also be some \n\r tags for all the that you have inserted.
Did you try already to see the differences in short texts, to find you what it is exactly?
I think it are some \n\r tags, you should see these tags when you request the data in you code.. If not i'm sure it are spaces.

SSRS Lable Printing

I have a SSRS RDL that is formated to fit on a three column lable sheet. When exported to PDF the 2nd column is not populated and on the next page the 2nd column is the only column populated. This continues to happen for as much data as I have. Has anyone had any problems with this or might have an idea on where the problem might be?
These kinds of quirks are usually related to the margins. Make sure that the actual label area does not exceed the page size, accounting for the margins. Also, printer drivers can cause a similar issue because of content-to-page-size issues, where the report shows correct on-screen but when printing, shifts content to a new page.
This is because of page setup properties. For example if a page is set to letter size(8.5in X 11in) and left and right margins to 1 inch. then you have adjust you report body size to 6.5 inch or below, if it exceeds above 6.5 inch, then leads to split data to other pages when exported to PDF.

Changing printer preference using vb6?

I am having a problem when my program is installed to another computer, where its printer preference is different, where my data report accepts Letter size 8.2 * 11 in, because when the printer preference is different the data report well not show and gives an error saying the page width is larger than paper width, does anyone know how to fix this problem.
i tried this code but it didn't work
Printer.PaperSize = vbPRPSLetter
Check out the Microsoft KnowledgeBase article FIX: Error Message "Report Width Is Larger Than the Paper Width" When Showing Data Report in Landscape
When using the Show method of Data
Report to preview the report, the page
orientation defaults to the default
printer settings on the local
computer. Therefore, if the
orientation of the default printer
settings is set to Portrait of
standard Letter paper and your report
width is more than 8.5 inches wide,
the following error occurs: Report
Width is Larger than the Paper Width.
The solution appears to be setting Orientation before using the Data Report. Change DataReport1 to the name of your data report.
DataReport1.Orientation = rptOrientLandscape
DataReport1.Show
EDIT Another suggestion: Microsoft offer a free DLL that allows you to change the default settings for the printer. You could try using that free DLL in your project, then do something like this code below before using the data report. Microsoft say "this DLL is particularly useful when dealing with the Data Report, which reads the default printer orientation prior to displaying or printing a report."
Set obj = New PrinterControl
obj.ChngOrientationLandscape
-Can you just switch to a custom paper size?
Printer.PaperSize = 256
Printer.Width = 11808 '(8.2 * 1440)
Printer.Height = 15840 '(11 * 1440)
-Are you sure the error isn't related
to the maximum print width of the
report itself? Many printers have a max print width
that forces 1/4" margins on either
side of a paper. Which in your case forces your printable area to be 7.7" max. Quickest way to
check would be to temporarily set
the print wide to a lower value and
see if it works.
-Another possibility could be permissions to the printer. If it's a shared network resource it may be locked down and be rejecting the changes to the paper settings and throwing an inaccurate error msg.
To change Printer orientation at runtime, we need to install VB6 Service pack 6
Use this code
DataReport1.Orientation = rptOrientLandscape
DataReport1.Show
This will work fine

Resources