x86 printer driver for sharing hp laserjet 1300 pcl5 printer

153

HP's Universal Print Driver usually works like a charm in this situation. Heres a link for the download for the Windows 7 x86 driver:

http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=503519&prodTypeId=18972&prodSeriesId=503548&swLang=8&taskId=135&swEnvOID=4062

You may need to manually install the driver with the '.inf' file that comes with this driver.

Share:
153

Related videos on Youtube

Stackaccount1
Author by

Stackaccount1

Updated on September 18, 2022

Comments

  • Stackaccount1
    Stackaccount1 almost 2 years

    Getting Error CSRF verification failed. Request aborted. Missing or Incorrect Token. I am new to JQuery not sure if it is contributing to my error. I think I am passing the request properly. Cookies are accepted and a simpler JQuery request worked earlier.

    Views

    def testcall(request):
        text = request.POST['text']
        if request.method == 'POST' and request.POST['action'] == 'start_function1':
            function1(text)
            response = text + "has been successful"
            return HttpResponse(response)
        if request.method == 'POST' and request.POST['action'] == 'start_function2':
            function2(text)
            response = text + "has been successful"
            return HttpResponse(response)
    
    

    Template

    <html>
    <head>
        <title>Test Data</title>
        <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
        <script>
                jQuery(document).ready(function($){
                $('demo-form').on('submit', function(event){
                    event.preventDefault();
                    var text = document.getElementById('text-to-analyze').value;
                    $.ajax({
                        url : '{{ 'my-ajax-testsub/' }}',
                        type : "POST",
                        data: {
                            csrfmiddlewaretoken: '{{ csrf_token }}',
                            text: text,
                            action: 'start_function1'
                        },
                        success: function callback(response){
                               alert(response);
                               },
                        });
                })})
                jQuery(document).ready(function($){
                $('demo-form').on('submit', function(event){
                    event.preventDefault();
                    var text = document.getElementById('text-to-analyze').value;
                    $.ajax({
                        url : '{{ 'my-ajax-testunsub/' }}',
                        type : "POST",
                        data: {
                            csrfmiddlewaretoken: '{{ csrf_token }}',
                            text: text,
                            action: 'start_function2'
                        },
                        success: function callback(response){
                               alert(response);
                               },
                    });
                })})
        </script>
    </head>
    <body>
        <form name="demo-form" method="POST" action="{% url 'home' %}">
            <p>Input field: <input type="text" id="text-to-analyze" value="[email protected]"></p><br>
            <button class="btn btn-success" name="start_function1">Function</button>
            <button class="btn btn-success" name="start_function2">Function</button>
        </form>
    </body>
    </html>
    
    
  • Stackaccount1
    Stackaccount1 over 3 years
    Thank you for your response, I appreciate your help. I am still not able to avoid the csrf error with your answer.